<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<style type="text/css">
.container {
	margin-top: 120px
}

td th {
	text-align: center;
}
</style>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Merchant Info</title>
</head>
<body>

	<jsp:include page="../common/head.jsp"></jsp:include>
	<div class="container">
		<h1 align="center">Merchant Info</h1>
		</br>
		<table class="table table-hover" style="width: 30%; margin: 0 auto;">
			<thead>
				<tr>
					<th>Property</th>
					<th>Value</th>
				</tr>

			</thead>

			<tbody>
				<tr>
					<td>Name</td>
					<td>${m.name}</td>
				</tr>
				<tr>
					<td>StoreName</td>
					<td>${m.storeName}</td>
				</tr>
				<tr>
					<td>Address</td>
					<td>${m.address}</td>
				</tr>
			</tbody>
		</table>
		</br>
		<div style="margin: 0 auto; text-align: center;">
			<img class="img-circle" src="${m.img}" width="100px" height="100px" /><input
				type="hidden" name="token" value="${token }" />
		</div>

	<input type="hidden" class="mid" id="mid" value="${m.id}">
	</div>
	<script type="text/javascript">
		$(function() {
			var mid = $.notify.getUrlParam("mid");
			if (mid == undefined || mid == null) {
				mid = $("#mid").val();
			}
			console.log(mid);
			$.notify.work($("#notify-area"), mid, 3 * 1000);
		});
	</script>
</body>
</html>